<?php
namespace app;

use hg\apidoc\annotation\Param;
use hg\apidoc\annotation\Returned;
use hg\apidoc\annotation\Header;

/**
 * 通用注释
 */

class Definitions
{
    /**
     * 获取分页数据列表的参数
     * @Param("pageIndex",type="int",require=true,default="0",desc="查询页数")
     * @Param("pageRow",type="int",require=true,default="10",desc="查询条数")
     * @Returned("count", type="int", desc="总条数")
     */
    public function pagingParam(){}
  
    /**
     * 返回字典数据
     * @Returned("id",type="int",desc="唯一id")
     * @Returned("status",type="int",desc="数据状态")
     * @Returned("create_time",type="string",desc="创建时间")
     * @Returned("update_time	",type="string",desc="更新时间")
     */
    public function dictionary(){}

    /**
     * @Header("token",type="string",require=true,desc="身份票据")
     * @Returned("token", type="string", desc="身份票据")
     */
    public function auth(){}
    
}